package com.google.code.p.restrpc.directory;

import com.google.code.p.restrpc.ServiceNode;
import com.google.code.p.restrpc.event.RpcEventObject;

public class DefaultNodeEventListener implements NodeEventListener {
    
    public boolean support(RpcEventObject event) {
        return (event instanceof NodeEventObject);
    }
    
    public void handle(RpcEventObject event) {
        NodeEventObject nodeEventObject = (NodeEventObject) event;
        ServiceNode serviceNode = (ServiceNode) nodeEventObject.getSource();
        
    }
    
}
